<script>window.pathPrefix="../";</script><script>window.pathPrefix="../";</script><!DOCTYPE html>
<html lang="en" style="padding-bottom:0px" class="local"></html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <link href="../images/favicon.png" rel="shortcut icon" type="image/png">
  <title>DJI Mobile SDK Documentation
  </title><link rel="stylesheet" href="../stylesheets/doc-vendor.css"><link rel="stylesheet" href="../stylesheets/doc-app.css">
</head>
<body>
  <nav id="site-header" class="site-header navbar">
    <div class="container">
      <div class="navbar-header"><a href="/" class="logo"><img src="../images/dji-logo@2x.png">IOS UX SDK API REFERENCE</a></div>
    </div>
  </nav>
  <div id="documentation-page" class="documentation-page">
    <div class="container">
      <div class="site-sidebar">
        <div class="searcher">
          <div id="panel" class="panel panel_tree">
            <div class="header">
              <div class="search-con">
                <label id="search-label" for="search">
                </label>
                <input id="search" type="text" placeholder="Search" autosave="searchdoc" results="10" autocomplete="off">
                <div class="search-icon"></div><a class="clean-search glyphicon glyphicon-remove-circle"></a>
              </div>
            </div>
            <div class="tree">
              <ul></ul>
            </div>
            <div class="result">
              <ul></ul>
            </div>
          </div>
        </div>
        <div class="nav scrollable js-tree-menu">
          <dl>
            <dt>Default Layout
            </dt>
                  <dd><a href="DUXAccessLockerWidget.html">DUXAccessLockerWidget</a>
                  </dd>
                  <dd><a href="DUXDefaultLayoutView.html">DUXDefaultLayoutView</a>
                  </dd>
                  <dd><a data-href="DUXDefaultLayoutViewController.html" class="sub-toggle">DUXDefaultLayoutViewController<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a>
                    <ul class="sub-menu">
                            <dd><a href="DUXDefaultLayoutViewController_VersatileControllers.html">DUXDefaultLayoutViewController</a>
                            </dd>
                    </ul>
                  </dd>
                  <dd><a href="DUXContentView.html">DUXContentView</a>
                  </dd>
                  <dd><a href="DUXFPVView.html">DUXFPVView</a>
                  </dd>
                  <dd><a href="DUXMapViewController.html">DUXMapViewController</a>
                  </dd>
                  <dd><a href="DUXContentViewController.html">DUXContentViewController</a>
                  </dd>
                  <dd><a data-href="DUXFPVViewController.html" class="sub-toggle">DUXFPVViewController<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a>
                    <ul class="sub-menu">
                            <dd><a href="DUXFPVInteractionController.html">DUXFPVInteractionController</a>
                            </dd>
                    </ul>
                  </dd>
                  <dd><a href="DUXSpeakerSettingsViewController.html">DUXSpeakerSettingsViewController</a>
                  </dd>
                  <dd><a href="DUXSpotlightSettingsViewController.html">DUXSpotlightSettingsViewController</a>
                  </dd>
          </dl>
          <dl>
            <dt>Widgets
            </dt>
                  <dd><a href="DUXBeaconWidget.html">DUXBeaconWidget</a>
                  </dd>
                  <dd><a href="DUXSpeakerWidget.html">DUXSpeakerWidget</a>
                  </dd>
                  <dd><a href="DUXSpotlightWidget.html">DUXSpotlightWidget</a>
                  </dd>
          </dl>
          <dl>
            <dt>Widget
            </dt>
                  <dd><a href="AutoExposureLockWidget.html">DUXAutoExposureSwitchWidget</a>
                  </dd>
                  <dd><a href="PreFlightStatusWidget.html">DUXPreFlightStatusWidget</a>
                  </dd>
                  <dd><a href="DUXConnectionWidget.html">DUXConnectionWidget</a>
                  </dd>
                  <dd><a href="DUXFlightModeWidget.html">DUXFlightModeWidget</a>
                  </dd>
                  <dd><a href="DUXBatteryWidget.html">DUXBatteryWidget</a>
                  </dd>
                  <dd><a href="RemoteControllerSignalWidget.html">DUXRemoteControlSignalWidget</a>
                  </dd>
                  <dd><a href="GPSSignalWidget.html">DUXGPSSignalWidget</a>
                  </dd>
                  <dd><a href="VideoSignalWidget.html">DUXVideoSignalWidget</a>
                  </dd>
                  <dd><a href="VisionWidget.html">DUXVisionWidget</a>
                  </dd>
                  <dd><a href="DUXDashboardWidget.html">DUXDashboardWidget</a>
                  </dd>
                  <dd><a href="DUXCompassWidget.html">DUXCompassWidget</a>
                  </dd>
                  <dd><a href="DistanceFromHomeWidget.html">DUXDistanceHomeWidget</a>
                  </dd>
                  <dd><a href="HorizontalVelocityWidget.html">DUXHorizontalVelocityWidget</a>
                  </dd>
                  <dd><a href="DistanceFromRCWidget.html">DUXDistanceRCWidget</a>
                  </dd>
                  <dd><a href="VerticalVelocityWidget.html">DUXVerticalVelocityWidget</a>
                  </dd>
                  <dd><a href="AltitudeWidget.html">DUXAltitudeWidget</a>
                  </dd>
                  <dd><a href="PictureVideoSwitchWidget.html">DUXPictureVideoSwitchWidget</a>
                  </dd>
                  <dd><a href="CameraCaptureWidget.html">DUXCaptureWidget</a>
                  </dd>
                  <dd><a href="ExposureSettingsMenu.html">DUXExposureSettingsMenu</a>
                  </dd>
                  <dd><a href="RemainingFlightTimeWidget.html">DUXRemainingFlightTimeWidget</a>
                  </dd>
                  <dd><a href="DULColorWaveformWidget.html">DUXColorWaveformWidget</a>
                  </dd>
                  <dd><a href="TakeOffLandWidget.html">DUXTakeOffWidget</a>
                  </dd>
                  <dd><a href="ReturnHomeWidget.html">DUXReturnHomeWidget</a>
                  </dd>
                  <dd><a href="CameraConfigShutterWidget.html">DUXCameraConfigShutterWidget</a>
                  </dd>
                  <dd><a href="CameraConfigApertureWidget.html">DUXCameraConfigApertureWidget</a>
                  </dd>
                  <dd><a href="CameraConfigISOWidget.html">DUXCameraConfigExposureSensitivityWidget</a>
                  </dd>
                  <dd><a href="CameraConfigWBWidget.html">DUXCameraConfigWBWidget</a>
                  </dd>
                  <dd><a href="CameraConfigStorageWidget.html">DUXCameraConfigStorageWidget</a>
                  </dd>
                  <dd><a href="CameraConfigSSDWidget.html">DUXCameraConfigSSDWidget</a>
                  </dd>
                  <dd><a href="CameraEVConfigWidget.html">DUXCameraConfigEVWidget</a>
                  </dd>
                  <dd><a href="DUXCameraPictureConfigWidget.html">DUXCameraPictureConfigWidget</a>
                  </dd>
                  <dd><a href="DUXCameraCapacityConfigWidget.html">DUXCameraCapacityConfigWidget</a>
                  </dd>
                  <dd><a href="DUXCameraConfigWidget.html">DUXCameraConfigWidget</a>
                  </dd>
                  <dd><a href="DUXRecordVideoWidget.html">DUXRecordVideoWidget</a>
                  </dd>
                  <dd><a href="DUXMenuWidget.html">DUXCameraSettingsMenu</a>
                  </dd>
                  <dd><a href="DUXCameraConfigInfoWidget.html">DUXCameraConfigInfoWidget</a>
                  </dd>
                  <dd><a href="DUXDJILogoWidget.html">DUXDJILogoWidget</a>
                  </dd>
                  <dd><a href="DUXRecordVideoTimeWidget.html">DUXRecordVideoTimeWidget</a>
                  </dd>
                  <dd><a href="DUXExposureFocusSwitchWidget.html">DUXExposureFocusSwitchWidget</a>
                  </dd>
                  <dd><a data-href="DUXWidget.html" class="sub-toggle">DUXWidget<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a>
                    <ul class="sub-menu">
                            <dd><a href="DUXFocusModeWidget.html">DUXFocusModeWidget</a>
                            </dd>
                            <dd><a href="DUXFocusTargetWidget.html">DUXFocusTargetWidget</a>
                            </dd>
                            <dd><a href="DUXManualFocusAdjustmentWidget.html">DUXManualFocusAdjustmentWidget</a>
                            </dd>
                    </ul>
                  </dd>
                  <dd><a href="DUXTakePictureWidget.html">DUXTakePictureWidget</a>
                  </dd>
                  <dd><a href="" class="active">DUXMapWidget</a>
                  </dd>
                  <dd><a href="DUXWiFiSignalWidget.html">DUXWifiSignalWidget</a>
                  </dd>
                  <dd><a href="DUXRadarWidget.html">DUXRadarWidget</a>
                  </dd>
                  <dd><a href="DUXHistogramWidget.html">DUXHistogramWidget</a>
                  </dd>
          </dl>
          <dl>
            <dt>Panel
            </dt>
                  <dd><a href="CameraSettingAdvancedPanel.html">DUXCameraSettingsController</a>
                  </dd>
                  <dd><a href="CameraSettingExposurePanel.html">DUXExposureSettingsController</a>
                  </dd>
                  <dd><a href="RTKStatusPanel.html">DUXRTKStatusViewController</a>
                  </dd>
                  <dd><a data-href="PreFlightCheckListPanel.html" class="sub-toggle">DUXPreflightChecklistController<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a>
                    <ul class="sub-menu">
                            <dd><a data-href="DUXPreflightChecklistManager.html" class="sub-toggle">DUXPreflightChecklistManager<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a>
                              <ul class="sub-menu">
                                      <dd><a href="DUXPreflightChecklistItem.html">DUXPreflightChecklistItem</a>
                                      </dd>
                                      <dd><a href="DUXOverallChecklistItem.html">DUXOverallChecklistItem</a>
                                      </dd>
                                      <dd><a href="DUXAircraftConnectionChecklistItem.html">DUXAircraftConnectionChecklistitem</a>
                                      </dd>
                                      <dd><a href="DUXAircraftLocationChecklistItem.html">DUXAircraftLocationChecklistItem</a>
                                      </dd>
                                      <dd><a href="DUXFlightModeChecklistItem.html">DUXFlightModeChecklistItem</a>
                                      </dd>
                                      <dd><a href="DUXCompassChecklistItem.html">DUXCompassChecklistItem</a>
                                      </dd>
                                      <dd><a href="DUXIMUChecklistItem.html">DUXIMUChecklistItem</a>
                                      </dd>
                                      <dd><a href="DUXESCChecklistItem.html">DUXESCChecklistItem</a>
                                      </dd>
                                      <dd><a href="DUXVisionChecklistItem.html">DUXVisionChecklistItem</a>
                                      </dd>
                                      <dd><a href="DUXRemoteControllerChecklistItem.html">DUXRemoteControllerChecklistItem</a>
                                      </dd>
                                      <dd><a href="DUXRemoteControllerBatteryChecklistItem.html">DUXRemoteControllerBatteryChecklistItem</a>
                                      </dd>
                                      <dd><a href="DUXRadioQualityChecklistItem.html">DUXRadioQualityChecklistItem</a>
                                      </dd>
                                      <dd><a href="DUXAircraftBatteryChecklistItem.html">DUXAircraftBatteryChecklistItem</a>
                                      </dd>
                                      <dd><a href="DUXAircraftBatteryTemperatureChecklistItem.html">DUXAircraftBatteryTemperatureChecklistItem</a>
                                      </dd>
                                      <dd><a href="DUXGimbalChecklistItem.html">DUXGimbalChecklistItem</a>
                                      </dd>
                                      <dd><a href="DUXStorageCapacityChecklistItem.html">DUXStorageCapacityChecklistItem</a>
                                      </dd>
                              </ul>
                            </dd>
                    </ul>
                  </dd>
          </dl>
          <dl>
            <dt>Model
            </dt>
                  <dd><a href="DUXSDKModel.html">DUXSDKModel</a>
                  </dd>
          </dl>
          <dl>
            <dt>Widget Collections
            </dt>
                  <dd><a href="DUXStatusBarView.html">DUXStatusBarView</a>
                  </dd>
                  <dd><a href="DUXStatusBarViewController.html">DUXStatusBarViewController</a>
                  </dd>
                  <dd><a href="DUXDockView.html">DUXDockView</a>
                  </dd>
                  <dd><a href="DUXDockViewController.html">DUXDockViewController</a>
                  </dd>
                  <dd><a href="DUXSideBarView.html">DUXSideBarView</a>
                  </dd>
                  <dd><a href="DUXSideBarViewController.html">DUXSideBarViewController</a>
                  </dd>
                  <dd><a href="DUXLeadingBarViewController.html">DUXLeadingBarViewController</a>
                  </dd>
                  <dd><a href="DUXTrailingBarViewController.html">DUXTrailingBarViewController</a>
                  </dd>
                  <dd><a href="DUXWidgetCollectionView.html">DUXWidgetCollectionView</a>
                  </dd>
                  <dd><a href="DUXWidgetCollectionViewStacks.html">DUXWidgetCollectionViewStacks</a>
                  </dd>
                  <dd><a href="DUXWidgetCollectionViewCenterLayout.html">DUXWidgetCollectionViewCenterLayout</a>
                  </dd>
                  <dd><a href="DUXWidgetCollectionViewLayout.html">DUXWidgetCollectionViewLayout</a>
                  </dd>
                  <dd><a href="DUXWidgetCollectionViewStacksLayout.html">DUXWidgetCollectionViewStacksLayout</a>
                  </dd>
                  <dd><a href="DUXWidgetItem.html">DUXWidgetItem</a>
                  </dd>
                  <dd><a href="DUXWidgetCollectionViewController.html">DUXWidgetCollectionViewController</a>
                  </dd>
          </dl>
        </div>
      </div>
      <div class="site-main">
        <div class="article"><div class="article"><h1><font color="#AAA">class </font>DUXMapWidget</h1></div>
<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="class"><span class="keyword">@interface</span> <span class="title">DUXMapWidget</span> : <span class="title">DUXWidget</span></span></div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr><tr valign="top"><td width="15%"><font color="#999"><i>Inherits From:</i></font></td><td width="85%"><font color="#999"><code><a href="../Widgets/DUXWidget.html#duxwidget">DUXWidget</a></code></font></td></tr></table></html>
<h5 id="display">Display:</h5>
<br style="clear:both">
<p><font color="#666">Widget that displays the aircraft's state and information on the map this includes aircraft location, home location, aircraft trail path, aircraft heading, and No Fly Zones.</font></p>
<h5 id="usage">Usage:</h5>
<p><font color="#666">Preferred Aspect Ratio: 1:1</font></p>
<h5 id="class-members">Class Members:</h5>
<div class="api-row" id="duxmapwidget_clearflightpath"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">method</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_clearflightpath_inline">clearCurrentFlightPath</a></div></div><div class="inline-doc" id="duxmapwidget_clearflightpath_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">method </font>clearCurrentFlightPath</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line">- (<span class="keyword">void</span>)clearCurrentFlightPath</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description">Description:</h5>
<p><font color="#666">Clears the flight path up to the current location. The flight path is removed even if it is hidden.</font></p>
</div>
<div class="api-row" id="duxmapwidget_setflyzonecolor"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">method</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_setflyzonecolor_inline">setFlyZoneOverlayColor:forFlyZoneCategory</a></div></div><div class="inline-doc" id="duxmapwidget_setflyzonecolor_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">method </font>setFlyZoneOverlayColor:forFlyZoneCategory</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line">- (<span class="keyword">void</span>)setFlyZoneOverlayColor:(<span class="keyword">nullable</span> <span class="built_in">UIColor</span> *)color</div><div class="line">            forFlyZoneCategory:(DJIFlyZoneCategory)category</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v2">Description:</h5>
<p><font color="#666">Change the rendered color for a given fly zone category.</font></p>
<h5 id="input-parameters">Input Parameters:</h5>
<html><table class="table-inline-parameters"><tr valign="top"><td><font color="#70BF41">nullable UIColor * <font color="#000">color</font></font></td><td><font color="#666"><i>The desired color.</i></font></td></tr><tr valign="top"><td><font color="#70BF41">DJIFlyZoneCategory <font color="#000">category</font></font></td><td><font color="#666"><i>The fly zone category for which the color would apply.</i></font></td></tr></table></html></div>
<div class="api-row" id="duxmapwidget_setflyzonealpha"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">method</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_setflyzonealpha_inline">setFlyZoneOverlayAlpha:forFlyZoneCategory</a></div></div><div class="inline-doc" id="duxmapwidget_setflyzonealpha_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">method </font>setFlyZoneOverlayAlpha:forFlyZoneCategory</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line">- (<span class="keyword">void</span>)setFlyZoneOverlayAlpha:(<span class="built_in">CGFloat</span>)alpha</div><div class="line">            forFlyZoneCategory:(DJIFlyZoneCategory)category</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v3">Description:</h5>
<p><font color="#666">Change the rendered alpha for a given fly zone category.</font></p>
<h5 id="input-parameters-v2">Input Parameters:</h5>
<html><table class="table-inline-parameters"><tr valign="top"><td><font color="#70BF41">CGFloat <font color="#000">alpha</font></font></td><td><font color="#666"><i>The desired alpha.</i></font></td></tr><tr valign="top"><td><font color="#70BF41">DJIFlyZoneCategory <font color="#000">category</font></font></td><td><font color="#666"><i>The fly zone category for which the alpha would apply.</i></font></td></tr></table></html></div>
<div class="api-row" id="duxmapwidget_istaptounlockenabled"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_istaptounlockenabled_inline">tapToUnlockEnabled</a></div></div><div class="inline-doc" id="duxmapwidget_istaptounlockenabled_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>tapToUnlockEnabled</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">assign</span>) <span class="built_in">BOOL</span> tapToUnlockEnabled</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v4">Description:</h5>
<p><font color="#666">Gets whether tap to unlock is enabled.</font></p>
</div>
<div class="api-row" id="duxmapwidget_isdirectiontohomevisible"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_isdirectiontohomevisible_inline">showDirectionToHome</a></div></div><div class="inline-doc" id="duxmapwidget_isdirectiontohomevisible_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>showDirectionToHome</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">assign</span>) <span class="built_in">BOOL</span> showDirectionToHome</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v5">Description:</h5>
<p><font color="#666">Defaults to <code>NO</code>. A Boolean value indicating whether the map displays a line showing
the direction to home.</font></p>
</div>
<div class="api-row" id="duxmapwidget_isflightpathvisible"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_isflightpathvisible_inline">showFlightPath</a></div></div><div class="inline-doc" id="duxmapwidget_isflightpathvisible_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>showFlightPath</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">assign</span>) <span class="built_in">BOOL</span> showFlightPath</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v6">Description:</h5>
<p><font color="#666"><code>YES</code> if the flight path is visible. The default value is <code>NO</code></font></p>
</div>
<div class="api-row" id="duxmapwidget_ishomevisible"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_ishomevisible_inline">showHomeAnnotation</a></div></div><div class="inline-doc" id="duxmapwidget_ishomevisible_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>showHomeAnnotation</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">assign</span>) <span class="built_in">BOOL</span> showHomeAnnotation</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v7">Description:</h5>
<p><font color="#666"><code>YES</code> if the map displays the home point of the aircraft. The default value of this property is <code>YES</code>.</font></p>
</div>
<div class="api-row" id="duxmapwidget_mapannotationtype"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">enum</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_mapannotationtype_inline">DUXMapAnnotationType</a></div></div><div class="inline-doc" id="duxmapwidget_mapannotationtype_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">enum </font>DUXMapAnnotationType</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">typedef</span> <span class="built_in">NS_ENUM</span>(<span class="built_in">NSUInteger</span>, DUXMapAnnotationType)</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v8">Description:</h5>
<p><font color="#666">An enum about different annotations on the map.</font></p>
<h5 id="enum-members">Enum Members:</h5>
<html><table class="table-inline-parameters"><tr valign="top"><td><font color="#70BF41"><a href="#duxmapwidget_duxmapannotationtypeaircraft_inline"></a>DUXMapAnnotationTypeAircraft</font></td><td><font color="#666">Annotation of the aircraft currently on the map.</font></td></tr><tr valign="top"><td><font color="#70BF41"><a href="#duxmapwidget_duxmapannotationtypehome_inline"></a>DUXMapAnnotationTypeHome</font></td><td><font color="#666">Annotation of the home location currently on the map.</font></td></tr><tr valign="top"><td><font color="#70BF41"><a href="#duxmapwidget_duxmapannotationtypeeligibleflyzones_inline"></a>DUXMapAnnotationTypeEligibleFlyZones</font></td><td><font color="#666">Annotation of a self-unlock fly zone that can be unlocked, currently on the map. Only visible when DUXMapWidget_tapToUnlockEnabled is set to <code>YES</code>.</font></td></tr><tr valign="top"><td><font color="#70BF41"><a href="#duxmapwidget_duxmapannotationtypeunlockedflyzones_inline"></a>DUXMapAnnotationTypeUnlockedFlyZones</font></td><td><font color="#666">Annotation of a self-unlock fly zone that is unlocked currently. Only visible when DUXMapWidget_tapToUnlockEnabled is set to <code>YES</code>.</font></td></tr><tr valign="top"><td><font color="#70BF41"><a href="#duxmapwidget_duxmapannotationtypecustomunlockedflyzones_inline"></a>DUXMapAnnotationTypeCustomUnlockedFlyZones</font></td><td><font color="#666">Annotation of a custom unlock fly zone. Only visible when DUXMapWidget_tapToUnlockEnabled is set to <code>YES</code>.</font></td></tr></table></html></div>
<div class="api-row" id="duxmapwidget_mapview"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_mapview_inline">mapView</a></div></div><div class="inline-doc" id="duxmapwidget_mapview_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>mapView</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">strong</span>) <span class="built_in">MKMapView</span> *mapView</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v9">Description:</h5>
<p><font color="#666">Standard iOS Map for manipulating general settings.</font></p>
</div>
<div class="api-row" id="duxmapwidget_ismapcameralockedonaircraft"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_ismapcameralockedonaircraft_inline">isMapCameraLockedOnAircraft</a></div></div><div class="inline-doc" id="duxmapwidget_ismapcameralockedonaircraft_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>isMapCameraLockedOnAircraft</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">assign</span>) <span class="built_in">BOOL</span> isMapCameraLockedOnAircraft</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v10">Description:</h5>
<p><font color="#666">Defaults to <code>NO</code>. A Boolean value that determines whether the map locks the camera view on the aircraft.</font></p>
</div>
<div class="api-row" id="duxmapwidget_changeannotation"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">method</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_changeannotation_inline">changeAnnotation:withImage</a></div></div><div class="inline-doc" id="duxmapwidget_changeannotation_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">method </font>changeAnnotation:withImage</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line">- (<span class="keyword">void</span>)changeAnnotation:(DUXMapAnnotationType)annotationType withImage:(<span class="built_in">UIImage</span> *)image DEPRECATED_ATTRIBUTE</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v11">Description:</h5>
<p><font color="#666">Replaces current annotation type with given image. The default image for all annotation types are set.</font></p>
<h5 id="input-parameters-v3">Input Parameters:</h5>
<html><table class="table-inline-parameters"><tr valign="top"><td><font color="#70BF41"><a href="../Widgets/DUXMapWidget.html#duxmapwidget_mapannotationtype">DUXMapAnnotationType</a> <font color="#000">annotationType</font></font></td><td><font color="#666"><i>An enum value of <code><a href="../Widgets/DUXMapWidget.html#duxmapwidget_mapannotationtype">DUXMapAnnotationType</a></code>.</i></font></td></tr><tr valign="top"><td><font color="#70BF41">UIImage * <font color="#000">image</font></font></td><td><font color="#666"><i>Image used to represent the annotation.</i></font></td></tr></table></html></div>
<div class="api-row" id="duxmapwidget_changeannotationoftype"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">method</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_changeannotationoftype_inline">changeAnnotationOfType:toCustomImage:withCenterOffset</a></div></div><div class="inline-doc" id="duxmapwidget_changeannotationoftype_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">method </font>changeAnnotationOfType:toCustomImage:withCenterOffset</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line">- (<span class="keyword">void</span>)changeAnnotationOfType:(DUXMapAnnotationType)annotationType toCustomImage:(<span class="keyword">nonnull</span> <span class="built_in">UIImage</span> *)image withCenterOffset:(<span class="built_in">CGPoint</span>)centerOffset</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v12">Description:</h5>
<p><font color="#666">Change the annotation type of the map widget.</font></p>
<h5 id="input-parameters-v4">Input Parameters:</h5>
<html><table class="table-inline-parameters"><tr valign="top"><td><font color="#70BF41"><a href="../Widgets/DUXMapWidget.html#duxmapwidget_mapannotationtype">DUXMapAnnotationType</a> <font color="#000">annotationType</font></font></td><td><font color="#666"><i>An enum value of <code><a href="../Widgets/DUXMapWidget.html#duxmapwidget_mapannotationtype">DUXMapAnnotationType</a></code>.</i></font></td></tr><tr valign="top"><td><font color="#70BF41">nonnull UIImage * <font color="#000">image</font></font></td><td><font color="#666"><i>Image used to represent the annotation.</i></font></td></tr><tr valign="top"><td><font color="#70BF41">CGPoint <font color="#000">centerOffset</font></font></td><td><font color="#666"><i>A CGPoint struct for the center offset.</i></font></td></tr></table></html></div>
<div class="api-row" id="duxmapwidget_visibleflyzones"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_visibleflyzones_inline">visibleFlyZones</a></div></div><div class="inline-doc" id="duxmapwidget_visibleflyzones_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>visibleFlyZones</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">assign</span>) DUXMapVisibleFlyZones visibleFlyZones</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v13">Description:</h5>
<p><font color="#666">Sets the types of fly zones to be displayed on the map. Set to <code>DUXMapWidget_DUXMapVisibleFlyZonesNone</code> to hide all fly zone types.</font></p>
<h5 id="see-also">See Also:</h5>
<p><font color="#666"><code><a href="../Widgets/DUXMapWidget.html#duxmapwidget_duxmapvisibleflyzones">DUXMapVisibleFlyZones</a></code></font></p>
</div>
<div class="api-row" id="duxmapwidget_duxmapvisibleflyzones"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">NS_OPTIONS</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_duxmapvisibleflyzones_inline">DUXMapVisibleFlyZones</a></div></div><div class="inline-doc" id="duxmapwidget_duxmapvisibleflyzones_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">NS_OPTIONS </font>DUXMapVisibleFlyZones</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">typedef</span> <span class="built_in">NS_OPTIONS</span>(<span class="built_in">NSUInteger</span>, DUXMapVisibleFlyZones)</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v14">Description:</h5>
<p><font color="#666">An enum bitmask indicating which fly zones are to be displayed by the map widget.</font></p>
<h5 id="members">Members:</h5>
<html><table class="table-inline-parameters"><tr valign="top"><td><font color="#70BF41"><a href="#duxmapwidget_duxmapvisibleflyzonesnone_inline"></a>DUXMapVisibleFlyZonesNone</font></td><td><font color="#666">No fly zones will be visible on the map widget.</font></td></tr><tr valign="top"><td><font color="#70BF41"><a href="#duxmapwidget_duxmapvisibleflyzonesrestricted_inline"></a>DUXMapVisibleFlyZonesRestricted</font></td><td><font color="#666">Restricted fly zones will be visible on the map widget.</font></td></tr><tr valign="top"><td><font color="#70BF41"><a href="#duxmapwidget_duxmapvisibleflyzonesauthorization_inline"></a>DUXMapVisibleFlyZonesAuthorization</font></td><td><font color="#666">Authorization fly zones will be visible on the map widget.</font></td></tr><tr valign="top"><td><font color="#70BF41"><a href="#duxmapwidget_duxmapvisibleflyzoneswarning_inline"></a>DUXMapVisibleFlyZonesWarning</font></td><td><font color="#666">Warning fly zones will be visible on the map widget.</font></td></tr><tr valign="top"><td><font color="#70BF41"><a href="#duxmapwidget_duxmapvisibleflyzonesenhancedwarning_inline"></a>DUXMapVisibleFlyZonesEnhancedWarning</font></td><td><font color="#666">Enhanced warning fly zones will be visible on the map widget.</font></td></tr></table></html></div>
<div class="api-row" id="duxmapwidget_flyzonecolor"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">method</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_flyzonecolor_inline">flyZoneOverlayColorForFlyZoneCategory</a></div></div><div class="inline-doc" id="duxmapwidget_flyzonecolor_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">method </font>flyZoneOverlayColorForFlyZoneCategory</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line">- (<span class="keyword">nonnull</span> <span class="built_in">UIColor</span> *)flyZoneOverlayColorForFlyZoneCategory:(DJIFlyZoneCategory)category</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v15">Description:</h5>
<p><font color="#666">Returns the currently used color for a given fly zone category. This does not include unlocked zones.</font></p>
<h5 id="input-parameters-v5">Input Parameters:</h5>
<html><table class="table-inline-parameters"><tr valign="top"><td><font color="#70BF41">DJIFlyZoneCategory <font color="#000">category</font></font></td><td><font color="#666"><i>The fly zone category associated with the returned color.</i></font></td></tr></table></html>
<h5 id="return">Return:</h5>
<html><table class="table-inline-parameters"><tr valign="top"><td><font color="#70BF41">nonnull UIColor *</font></td><td><font color="#666"><i>A UIColor object.</i></font></td></tr></table></html></div>
<div class="api-row" id="duxmapwidget_flyzonealpha"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">method</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_flyzonealpha_inline">flyZoneOverlayAlphaForFlyZoneCategory</a></div></div><div class="inline-doc" id="duxmapwidget_flyzonealpha_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">method </font>flyZoneOverlayAlphaForFlyZoneCategory</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line">- (<span class="built_in">CGFloat</span>)flyZoneOverlayAlphaForFlyZoneCategory:(DJIFlyZoneCategory)category</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v16">Description:</h5>
<p><font color="#666">Returns the currently used alpha for a given fly zone category. This does not include unlocked zones.</font></p>
<h5 id="input-parameters-v6">Input Parameters:</h5>
<html><table class="table-inline-parameters"><tr valign="top"><td><font color="#70BF41">DJIFlyZoneCategory <font color="#000">category</font></font></td><td><font color="#666"><i>The fly zone category associated with the returned alpha.</i></font></td></tr></table></html>
<h5 id="return-v2">Return:</h5>
<html><table class="table-inline-parameters"><tr valign="top"><td><font color="#70BF41">CGFloat</font></td><td><font color="#666"><i>A CGFloat value.</i></font></td></tr></table></html></div>
<div class="api-row" id="duxmapviewcontroller_showflyzonelegend"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapviewcontroller_showflyzonelegend_inline">showFlyZoneLegend</a></div></div><div class="inline-doc" id="duxmapviewcontroller_showflyzonelegend_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>showFlyZoneLegend</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">assign</span>) <span class="built_in">BOOL</span> showFlyZoneLegend</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapViewController.h</font></td></tr></table></html>
<h5 id="description-v17">Description:</h5>
<p><font color="#666">Shows the fly zone legend. The fly zone legend indicates the color for all zone categories and self-unlock zones.</font></p>
</div>
<div class="api-row" id="duxmapwidget_ismapcameralockedonhomepoint"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_ismapcameralockedonhomepoint_inline">isMapCameraLockedOnHomePoint</a></div></div><div class="inline-doc" id="duxmapwidget_ismapcameralockedonhomepoint_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>isMapCameraLockedOnHomePoint</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">assign</span>) <span class="built_in">BOOL</span> isMapCameraLockedOnHomePoint</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v18">Description:</h5>
<p><font color="#666">Boolean property that if enabled will lock map center onto aircraft home location.</font></p>
</div>
<div class="api-row" id="duxmapwidget_flightpathstrokecolor"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_flightpathstrokecolor_inline">flightPathStrokeColor</a></div></div><div class="inline-doc" id="duxmapwidget_flightpathstrokecolor_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>flightPathStrokeColor</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">strong</span>, <span class="keyword">nonnull</span>) <span class="built_in">UIColor</span> *flightPathStrokeColor</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v19">Description:</h5>
<p><font color="#666">Current color of the rendered flight path.</font></p>
</div>
<div class="api-row" id="duxmapwidget_flightpathstrokewidth"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_flightpathstrokewidth_inline">flightPathStrokeWidth</a></div></div><div class="inline-doc" id="duxmapwidget_flightpathstrokewidth_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>flightPathStrokeWidth</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">assign</span>) <span class="built_in">CGFloat</span> flightPathStrokeWidth</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v20">Description:</h5>
<p><font color="#666">Current stroke width of the rendered flight path.</font></p>
</div>
<div class="api-row" id="duxmapwidget_flyzoneoverlayborderwidth"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_flyzoneoverlayborderwidth_inline">flyZoneOverlayBorderWidth</a></div></div><div class="inline-doc" id="duxmapwidget_flyzoneoverlayborderwidth_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>flyZoneOverlayBorderWidth</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">assign</span>) <span class="built_in">CGFloat</span> flyZoneOverlayBorderWidth</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v21">Description:</h5>
<p><font color="#666">Width of the solid colored boreder of all fly zone overlays.</font></p>
</div>
<div class="api-row" id="duxmapwidget_maximumheightflyzoneoverlayalpha"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_maximumheightflyzoneoverlayalpha_inline">maximumHeightFlyZoneOverlayAlpha</a></div></div><div class="inline-doc" id="duxmapwidget_maximumheightflyzoneoverlayalpha_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>maximumHeightFlyZoneOverlayAlpha</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">assign</span>) <span class="built_in">CGFloat</span> maximumHeightFlyZoneOverlayAlpha</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v22">Description:</h5>
<p><font color="#666">Current alpha of a fly zone with maximum height.</font></p>
</div>
<div class="api-row" id="duxmapwidget_maximumheightflyzoneoverlaycolor"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_maximumheightflyzoneoverlaycolor_inline">maximumHeightFlyZoneOverlayColor</a></div></div><div class="inline-doc" id="duxmapwidget_maximumheightflyzoneoverlaycolor_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>maximumHeightFlyZoneOverlayColor</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">strong</span>, <span class="keyword">nonnull</span>) <span class="built_in">UIColor</span> *maximumHeightFlyZoneOverlayColor</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v23">Description:</h5>
<p><font color="#666">Current color of a fly zone with maximum height.</font></p>
</div>
<div class="api-row" id="duxmapwidget_directiontohomestrokecolor"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_directiontohomestrokecolor_inline">directionToHomeStrokeColor</a></div></div><div class="inline-doc" id="duxmapwidget_directiontohomestrokecolor_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>directionToHomeStrokeColor</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">strong</span>, <span class="keyword">nonnull</span>) <span class="built_in">UIColor</span> *directionToHomeStrokeColor</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v24">Description:</h5>
<p><font color="#666">Current color of the rendered direction to home line.</font></p>
</div>
<div class="api-row" id="duxmapwidget_directiontohomestrokewidth"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_directiontohomestrokewidth_inline">directionToHomeStrokeWidth</a></div></div><div class="inline-doc" id="duxmapwidget_directiontohomestrokewidth_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>directionToHomeStrokeWidth</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">assign</span>) <span class="built_in">CGFloat</span> directionToHomeStrokeWidth</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v25">Description:</h5>
<p><font color="#666">Current stroke width of the rendered direction to home line.</font></p>
</div>
<div class="api-row" id="duxmapwidget_unlockedflyzoneoverlaycolor"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_unlockedflyzoneoverlaycolor_inline">unlockedFlyZoneOverlayColor</a></div></div><div class="inline-doc" id="duxmapwidget_unlockedflyzoneoverlaycolor_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>unlockedFlyZoneOverlayColor</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">strong</span>, <span class="keyword">nonnull</span>) <span class="built_in">UIColor</span> *unlockedFlyZoneOverlayColor</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v26">Description:</h5>
<p><font color="#666">Current color of a self-unlock fly zone overlay.</font></p>
</div>
<div class="api-row" id="duxmapwidget_unlockedflyzoneoverlayalpha"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_unlockedflyzoneoverlayalpha_inline">unlockedFlyZoneOverlayAlpha</a></div></div><div class="inline-doc" id="duxmapwidget_unlockedflyzoneoverlayalpha_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>unlockedFlyZoneOverlayAlpha</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">assign</span>) <span class="built_in">CGFloat</span> unlockedFlyZoneOverlayAlpha</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v27">Description:</h5>
<p><font color="#666">Current alpha of a self-unlock fly zone overlay.</font></p>
</div>
<div class="api-row" id="duxmapwidget_customunlockflyzoneoverlaycolor"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_customunlockflyzoneoverlaycolor_inline">customUnlockFlyZoneOverlayColor</a></div></div><div class="inline-doc" id="duxmapwidget_customunlockflyzoneoverlaycolor_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>customUnlockFlyZoneOverlayColor</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">strong</span>, <span class="keyword">nonnull</span>) <span class="built_in">UIColor</span> *customUnlockFlyZoneOverlayColor</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v28">Description:</h5>
<p><font color="#666">Current color of a custom unlock fly zone overlay.</font></p>
</div>
<div class="api-row" id="duxmapwidget_customunlockflyzonesenttoaircraftoverlaycolor"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_customunlockflyzonesenttoaircraftoverlaycolor_inline">customUnlockFlyZoneSentToAircraftOverlayColor</a></div></div><div class="inline-doc" id="duxmapwidget_customunlockflyzonesenttoaircraftoverlaycolor_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>customUnlockFlyZoneSentToAircraftOverlayColor</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">strong</span>, <span class="keyword">nonnull</span>) <span class="built_in">UIColor</span> *customUnlockFlyZoneSentToAircraftOverlayColor</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v29">Description:</h5>
<p><font color="#666">Current color of a custom unlock fly zone overlay that has been sent to aircraft.</font></p>
</div>
<div class="api-row" id="duxmapwidget_customunlockflyzoneoverlayalpha"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_customunlockflyzoneoverlayalpha_inline">customUnlockFlyZoneOverlayAlpha</a></div></div><div class="inline-doc" id="duxmapwidget_customunlockflyzoneoverlayalpha_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>customUnlockFlyZoneOverlayAlpha</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">assign</span>) <span class="built_in">CGFloat</span> customUnlockFlyZoneOverlayAlpha</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v30">Description:</h5>
<p><font color="#666">Current alpha of a custom unlock fly zone overlay.</font></p>
</div>
<div class="api-row" id="duxmapwidget_customunlockflyzonesenttoaircraftoverlayalpha"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_customunlockflyzonesenttoaircraftoverlayalpha_inline">customUnlockFlyZoneSentToAircraftOverlayAlpha</a></div></div><div class="inline-doc" id="duxmapwidget_customunlockflyzonesenttoaircraftoverlayalpha_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>customUnlockFlyZoneSentToAircraftOverlayAlpha</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">assign</span>) <span class="built_in">CGFloat</span> customUnlockFlyZoneSentToAircraftOverlayAlpha</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v31">Description:</h5>
<p><font color="#666">Current alpha of a custom unlock fly zone overlay that has been sent to the aircraft.</font></p>
</div>
<div class="api-row" id="duxmapwidget_customunlockflyzoneenabledoverlaycolor"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_customunlockflyzoneenabledoverlaycolor_inline">customUnlockFlyZoneEnabledOverlayColor</a></div></div><div class="inline-doc" id="duxmapwidget_customunlockflyzoneenabledoverlaycolor_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>customUnlockFlyZoneEnabledOverlayColor</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">strong</span>, <span class="keyword">nonnull</span>) <span class="built_in">UIColor</span> *customUnlockFlyZoneEnabledOverlayColor</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v32">Description:</h5>
<p><font color="#666">Current color of a custom unlock fly zone overlay that has been sent to aircraft and enabled.</font></p>
</div>
<div class="api-row" id="duxmapwidget_customunlockflyzoneenabledoverlayalpha"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_customunlockflyzoneenabledoverlayalpha_inline">customUnlockFlyZoneEnabledOverlayAlpha</a></div></div><div class="inline-doc" id="duxmapwidget_customunlockflyzoneenabledoverlayalpha_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>customUnlockFlyZoneEnabledOverlayAlpha</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">assign</span>) <span class="built_in">CGFloat</span> customUnlockFlyZoneEnabledOverlayAlpha</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v33">Description:</h5>
<p><font color="#666">Current alpha of a custom unlock fly zone overlay that has been sent to aircraft and enabled.</font></p>
</div>
<div class="api-row" id="duxmapwidget_showdjiaccountloginindicator"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_showdjiaccountloginindicator_inline">showDJIAccountLoginIndicator</a></div></div><div class="inline-doc" id="duxmapwidget_showdjiaccountloginindicator_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>showDJIAccountLoginIndicator</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">assign</span>) <span class="built_in">BOOL</span> showDJIAccountLoginIndicator</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v34">Description:</h5>
<p><font color="#666">Defaults to <code>NO</code>. Show a small indicator displaying the latest DJI account login state.  Useful if using FlySafe features.</font></p>
</div>
<div class="api-row" id="duxmapwidget_showcustomunlockzones"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_showcustomunlockzones_inline">showCustomUnlockZones</a></div></div><div class="inline-doc" id="duxmapwidget_showcustomunlockzones_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>showCustomUnlockZones</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">assign</span>) <span class="built_in">BOOL</span> showCustomUnlockZones</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v35">Description:</h5>
<p><font color="#666">Defaults to <code>NO</code>. Shows custom unlock zones if any are available for the currently connected aircraft.</font></p>
</div>
<div class="api-row" id="duxmapwidget_synccustomunlockzones"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">method</div><div class="api-col right"><a class="trigger" href="#duxmapwidget_synccustomunlockzones_inline">syncCustomUnlockZones</a></div></div><div class="inline-doc" id="duxmapwidget_synccustomunlockzones_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">method </font>syncCustomUnlockZones</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line">- (<span class="keyword">void</span>)syncCustomUnlockZones</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DUXMapWidget.h</font></td></tr></table></html>
<h5 id="description-v36">Description:</h5>
<p><font color="#666">Call this to sync currently shown custom unlock zones to aircraft. They will still need to be manually enabled.</font></p>
</div>

        </div>
      </div>
    </div>
    <div id="search-modal" class="search-modal modal fade">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header"><a href="javascript:;" @click="closeSearch" class="btn-close">×</a>
            <h2 class="title"> Search Mobile SDK Document
            </h2>
            <input type="text" v-model="searchInput" @keydown.enter="search">
          </div>
          <div class="modal-body">
            <p v-show="!!searchCount" class="search-count"><span v-cloak>{{searchCount}}</span>&nbsp;Results
            </p>
            <ul v-show="!!searchCount" class="search-result">
              <li v-for="item in searchResult"><a v-bind:href="item.url | docUrl">
                  <h3 class="title">{{{(item.highlights && item.highlights.title) || item.title}}}</h3>
                  <p class="content">{{{(item.highlights && item.highlights.content[0]) || item.title}}}</p></a></li>
            </ul>
            <div v-show="showLoadMore" class="text-center"><a href="javascript:;" @click="loadMoreSearch" class="btn-learn-more">Load More</a></div>
            <div v-show="searchLoading" class="text-center">Loading...
            </div>
            <div v-show="!searchCount &amp;&amp; !searchLoading" class="text-center">Not Found
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <script type="text/javascript">
    window.Config = window.config = {
      sdk: "mobile-sdk",
      locale: "en",
      environment: "development",
      api_host: ""
    };
    
  </script>
  <!-- build:js /javascripts/doc-vendor.js-->
  <script src="../javascripts/lib/jquery-2.1.4.min.js" type="text/javascript"></script>
  <script src="../javascripts/lib/bootstrap.js" type="text/javascript"></script>
  <script src="../javascripts/lib/vue.min.js" type="text/javascript"></script>
  <!-- endbuild-->
  <!-- build:js /javascripts/doc-app.js-->
  <script src="../javascripts/util/cookie.js" type="text/javascript"></script>
  <script src="../javascripts/util/url-manager.js" type="text/javascript"></script>
  <script src="../javascripts/util/ajax-manager.js" type="text/javascript"></script>
  <script src="../javascripts/base/footer.js" type="text/javascript"></script>
  <script src="../javascripts/base/header.js" type="text/javascript"></script>
  <script src="../javascripts/util/searcher.js" type="text/javascript"></script>
  <script src="../javascripts/search_index.js" type="text/javascript"></script>
  <script src="../javascripts/searchdoc.js" type="text/javascript"></script>
  <script src="../javascripts/api.js" type="text/javascript"></script>
  <!-- endbuild-->
  <script type="text/javascript">
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','http://www.google-analytics.com/analytics.js','ga');
    ga('create', 'UA-43055594-1', 'auto');
    ga('send', 'pageview');
  </script>
</body>